package com.vincent.model;

import java.math.BigDecimal;

public class MemberLevel {
    private Integer id;

    private String name;

    private BigDecimal discountRate;

    private BigDecimal consumptionSum;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public BigDecimal getDiscountRate() {
        return discountRate;
    }

    public void setDiscountRate(BigDecimal discountRate) {
        this.discountRate = discountRate;
    }

    public BigDecimal getConsumptionSum() {
        return consumptionSum;
    }

    public void setConsumptionSum(BigDecimal consumptionSum) {
        this.consumptionSum = consumptionSum;
    }
}